<?php

namespace App\Models;

use Eloquent as Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * Class Contact
 * @package App\Models
 * @version November 11, 2017, 10:47 pm CST
 *
 * @property string name
 * @property integer mobile
 * @property string content
 */
class Contact extends Model
{


    public $table = 'i_contact';
    
    const CREATED_AT = 'created_at';



    public $fillable = [
        'name',
        'mobile',
        'content'
    ];

    /**
     * The attributes that should be casted to native types.
     *
     * @var array
     */
    protected $casts = [
        'id' => 'integer',
        'name' => 'string',
        'mobile' => 'integer',
        'content' => 'string'
    ];

    /**
     * Validation rules
     *
     * @var array
     */
    public static $rules = [
        
    ];

    
}
